From 3dbbdca71d43f05bc47e69e3d3e8e7705f5831ce Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 10 Jan 2009 22:07:12 +0000 Subject: [PATCH] Just use != here --- includes/RecentChange.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/RecentChange.php b/includes/RecentChange.php index 885ff45532..767e3daf42 100644 --- a/includes/RecentChange.php +++ b/includes/RecentChange.php @@ -471,7 +471,7 @@ class RecentChange { global $wgLogRestrictions; # Don't add private logs to RC! - if( isset($wgLogRestrictions[$type]) && !$wgLogRestrictions[$type] == '*' ) { + if( isset($wgLogRestrictions[$type]) && $wgLogRestrictions[$type] != '*' ) { return false; } $rc = self::newLogEntry( $timestamp, $title, $user, $actionComment, $ip, $type, $action, -- 2.20.1